package domain;

import java.sql.Date;
import java.util.HashSet;
import java.util.Set;

public class Project {

	private Long id;
	private String name;
	private String description;
	private Date plannedStartDate;
	private Date plannedEndDate;
	private Long plannedTime;
	private ProjectType projectType;
	private Set projectTeams = new HashSet();
	public Project() {
		super();
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Date getPlannedStartDate() {
		return plannedStartDate;
	}
	public void setPlannedStartDate(Date plannedStartDate) {
		this.plannedStartDate = plannedStartDate;
	}
	public Date getPlannedEndDate() {
		return plannedEndDate;
	}
	public void setPlannedEndDate(Date plannedEndDate) {
		this.plannedEndDate = plannedEndDate;
	}
	public Long getPlannedTime() {
		return plannedTime;
	}
	public void setPlannedTime(Long plannedTime) {
		this.plannedTime = plannedTime;
	}
	public ProjectType getProjectType() {
		return projectType;
	}
	public void setProjectType(ProjectType projectType) {
		this.projectType = projectType;
	}
	public Set getProjectTeams() {
		return projectTeams;
	}
	public void setProjectTeams(Set projectTeams) {
		this.projectTeams = projectTeams;
	}
	@Override
	public String toString() {
		return getName();
	}
	
}
